BOR_THR=BOR_THR0, BOD_THR=BOD_THR0, ACMP0_EDGE_SEL=POSEDGE
analog setting register
BOD_AMP_EN | Enable the AMP of browned out detector |
BOD_EN | Enable browned out detector |
BAT_MON_EN | Enable battery monitor |
ACMP0_EN | Enable comparator 0 |
ACMP1_EN | Enable comparator 1 |
BOR_AMP_EN | Enable the AMP of browned reset detector |
BOR_EN | Enable browned reset detector |
ACMP0_REF | acmp0 reference voltage selection, vref0=Acmp_vref*ACMP0_REF/16 |
ACMP1_REF | acmp1 reference voltage selection, vref1=Acmp_vref*ACMP1_REF/16 |
ACMP0_HYST_EN | Hysteresis enable of ACMP0 when 1 |
ACMP1_HYST_EN | Hysteresis enable of ACMP1 when 1 |
ACMP_VREF_SEL | Acmp_vref selection |
BOD_THR | Browned-out detector threshold voltages, when VDD is lower than this voltage, BOD_OUT interrupt happens. And the detector has a hysteresis. 0 (BOD_THR0): trigger at 2.06V, with 295mV hysteresis 1 (BOD_THR1): trigger at 2.45V, with 350mV hysteresis 2 (BOD_THR2): trigger at 2.72V, with 388mV hysteresis 3 (BOD_THR3): trigger at 3.04V, with 435mV hysteresis |
BOR_THR | Browned-out reset threshold voltages 0 (BOR_THR0): trigger at 1.5V 1 (BOR_THR1): trigger at 1.85V 2 (BOR_THR2): trigger at 2V 3 (BOR_THR3): trigger at 2.3V |
ACMP0_OUT | Comparator 0 output. |
ACMP1_OUT | Comparator 1 output. |
ACMP0_EDGE_SEL | ACMP0 interrupt edge selection 0 (POSEDGE): posedge 1 (NEGEDGE): negedge 2 (BOTHEDGE): both edge |
ACMP1_EDGE_SEL | ACMP1 interrupt edge selection |
ACMP0_INTEN | 1 to enable ACMP0 interrupt |
ACMP1_INTEN | 1 to enable ACMP1 interrupt |